import App from './App'
// 1. 导入 store 的实例对象
import store from './store/store.js'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
Vue.prototype.$store = store;
App.mpType = 'app'
const app = new Vue({
   ...App,
   // 2. 将 store 挂载到 Vue 实例上
   store,

})
app.$mount()
// #endif

// #ifdef VUE3
import {
   createSSRApp
} from 'vue'
export function createApp() {
   const app = createSSRApp(App)
   return {
      app
   }
}
// #endif
